-- GENERATED SPELL FOR [Legion Overlord] --


function spell0_32271(pUnit, Event) --@Fire Nova,Self--
pUnit:FullCastSpellOnTarget(26073,pUnit)
pUnit:RegisterEvent('Sorts_32271', 643, 1)
end

function Sorts_32271(pUnit, Event)
local choix_sorts_32271 = math.random(0, 0)
if choix_sorts_32271 == 0 then
pUnit:RegisterEvent('spell0_32271', 1, 1)
end
end

function mob32271_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32271', math.random(1500, 3000), 1)
end

function mob32271_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32271_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32271_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32271, 1, 'mob32271_Action')
RegisterUnitEvent(32271, 2, 'mob32271_Leave')
RegisterUnitEvent(32271, 3, 'mob32271_Kill')
RegisterUnitEvent(32271, 4, 'mob32271_Die')
